
// Boost Includes ==============================================================
#include <boost/python.hpp>
#include <boost/cstdint.hpp>

// Includes ====================================================================
#include <OpenSG/OSGTextureChunk.h>
#include <OpenSG/OSGTextureChunkBase.h>
#include <OsgPtrHelpers.h>

// Using =======================================================================
using namespace boost::python;

// Declarations ================================================================
namespace  {

BOOST_PYTHON_MEMBER_FUNCTION_OVERLOADS(osg_TextureChunk_dump_overloads_0_2, dump, 0, 2)

BOOST_PYTHON_MEMBER_FUNCTION_OVERLOADS(osg_TextureChunk_activate_overloads_1_2, activate, 1, 2)

BOOST_PYTHON_MEMBER_FUNCTION_OVERLOADS(osg_TextureChunk_changeFrom_overloads_2_3, changeFrom, 2, 3)

BOOST_PYTHON_MEMBER_FUNCTION_OVERLOADS(osg_TextureChunk_deactivate_overloads_1_2, deactivate, 1, 2)

BOOST_PYTHON_MEMBER_FUNCTION_OVERLOADS(osg_TextureChunk_imageContentChanged_overloads_0_6, imageContentChanged, 0, 6)


}// namespace


// Module ======================================================================
void Export_src_pyste_gen_TextureChunk()
{
    scope* osg_TextureChunkBase_scope = new scope(
    class_< osg::TextureChunkBase, bases< osg::StateChunk > , boost::noncopyable >("TextureChunkBase", no_init)
/*
        .def_readonly("ImageFieldMask", &osg::TextureChunkBase::ImageFieldMask)
        .def_readonly("InternalFormatFieldMask", &osg::TextureChunkBase::InternalFormatFieldMask)
        .def_readonly("ExternalFormatFieldMask", &osg::TextureChunkBase::ExternalFormatFieldMask)
        .def_readonly("ScaleFieldMask", &osg::TextureChunkBase::ScaleFieldMask)
        .def_readonly("FrameFieldMask", &osg::TextureChunkBase::FrameFieldMask)
        .def_readonly("MinFilterFieldMask", &osg::TextureChunkBase::MinFilterFieldMask)
        .def_readonly("MagFilterFieldMask", &osg::TextureChunkBase::MagFilterFieldMask)
        .def_readonly("WrapSFieldMask", &osg::TextureChunkBase::WrapSFieldMask)
        .def_readonly("WrapTFieldMask", &osg::TextureChunkBase::WrapTFieldMask)
        .def_readonly("WrapRFieldMask", &osg::TextureChunkBase::WrapRFieldMask)
        .def_readonly("EnvModeFieldMask", &osg::TextureChunkBase::EnvModeFieldMask)
        .def_readonly("EnvColorFieldMask", &osg::TextureChunkBase::EnvColorFieldMask)
        .def_readonly("EnvCombineRGBFieldMask", &osg::TextureChunkBase::EnvCombineRGBFieldMask)
        .def_readonly("EnvCombineAlphaFieldMask", &osg::TextureChunkBase::EnvCombineAlphaFieldMask)
        .def_readonly("EnvScaleRGBFieldMask", &osg::TextureChunkBase::EnvScaleRGBFieldMask)
        .def_readonly("EnvScaleAlphaFieldMask", &osg::TextureChunkBase::EnvScaleAlphaFieldMask)
        .def_readonly("EnvSource0RGBFieldMask", &osg::TextureChunkBase::EnvSource0RGBFieldMask)
        .def_readonly("EnvSource1RGBFieldMask", &osg::TextureChunkBase::EnvSource1RGBFieldMask)
        .def_readonly("EnvSource2RGBFieldMask", &osg::TextureChunkBase::EnvSource2RGBFieldMask)
        .def_readonly("EnvSource0AlphaFieldMask", &osg::TextureChunkBase::EnvSource0AlphaFieldMask)
        .def_readonly("EnvSource1AlphaFieldMask", &osg::TextureChunkBase::EnvSource1AlphaFieldMask)
        .def_readonly("EnvSource2AlphaFieldMask", &osg::TextureChunkBase::EnvSource2AlphaFieldMask)
        .def_readonly("EnvOperand0RGBFieldMask", &osg::TextureChunkBase::EnvOperand0RGBFieldMask)
        .def_readonly("EnvOperand1RGBFieldMask", &osg::TextureChunkBase::EnvOperand1RGBFieldMask)
        .def_readonly("EnvOperand2RGBFieldMask", &osg::TextureChunkBase::EnvOperand2RGBFieldMask)
        .def_readonly("EnvOperand0AlphaFieldMask", &osg::TextureChunkBase::EnvOperand0AlphaFieldMask)
        .def_readonly("EnvOperand1AlphaFieldMask", &osg::TextureChunkBase::EnvOperand1AlphaFieldMask)
        .def_readonly("EnvOperand2AlphaFieldMask", &osg::TextureChunkBase::EnvOperand2AlphaFieldMask)
        .def_readonly("GLIdFieldMask", &osg::TextureChunkBase::GLIdFieldMask)
        .def_readonly("IgnoreGLForAspectFieldMask", &osg::TextureChunkBase::IgnoreGLForAspectFieldMask)
        .def_readonly("PointSpriteFieldMask", &osg::TextureChunkBase::PointSpriteFieldMask)
        .def_readonly("PriorityFieldMask", &osg::TextureChunkBase::PriorityFieldMask)
        .def_readonly("ShaderOperationFieldMask", &osg::TextureChunkBase::ShaderOperationFieldMask)
        .def_readonly("ShaderInputFieldMask", &osg::TextureChunkBase::ShaderInputFieldMask)
        .def_readonly("ShaderOffsetMatrixFieldMask", &osg::TextureChunkBase::ShaderOffsetMatrixFieldMask)
        .def_readonly("ShaderOffsetScaleFieldMask", &osg::TextureChunkBase::ShaderOffsetScaleFieldMask)
        .def_readonly("ShaderOffsetBiasFieldMask", &osg::TextureChunkBase::ShaderOffsetBiasFieldMask)
        .def_readonly("ShaderRGBADotProductFieldMask", &osg::TextureChunkBase::ShaderRGBADotProductFieldMask)
        .def_readonly("ShaderCullModesFieldMask", &osg::TextureChunkBase::ShaderCullModesFieldMask)
        .def_readonly("ShaderConstEyeFieldMask", &osg::TextureChunkBase::ShaderConstEyeFieldMask)
        .def_readonly("LodBiasFieldMask", &osg::TextureChunkBase::LodBiasFieldMask)
        .def_readonly("TargetFieldMask", &osg::TextureChunkBase::TargetFieldMask)
        .def_readonly("DirtyLeftFieldMask", &osg::TextureChunkBase::DirtyLeftFieldMask)
        .def_readonly("DirtyMinXFieldMask", &osg::TextureChunkBase::DirtyMinXFieldMask)
        .def_readonly("DirtyMaxXFieldMask", &osg::TextureChunkBase::DirtyMaxXFieldMask)
        .def_readonly("DirtyMinYFieldMask", &osg::TextureChunkBase::DirtyMinYFieldMask)
        .def_readonly("DirtyMaxYFieldMask", &osg::TextureChunkBase::DirtyMaxYFieldMask)
        .def_readonly("DirtyMinZFieldMask", &osg::TextureChunkBase::DirtyMinZFieldMask)
        .def_readonly("DirtyMaxZFieldMask", &osg::TextureChunkBase::DirtyMaxZFieldMask)
        .def_readonly("MTInfluenceMask", &osg::TextureChunkBase::MTInfluenceMask)
*/
        .def("getClassType", &osg::TextureChunkBase::getClassType, return_internal_reference< 1 >())
        .def("getClassTypeId", &osg::TextureChunkBase::getClassTypeId)
        .def("getType", (osg::FieldContainerType& (osg::TextureChunkBase::*)() )&osg::TextureChunkBase::getType, return_internal_reference< 1 >())
        .def("getType", (const osg::FieldContainerType& (osg::TextureChunkBase::*)() const)&osg::TextureChunkBase::getType, return_internal_reference< 1 >())
        .def("getContainerSize", &osg::TextureChunkBase::getContainerSize)
        //.def("getImage", (osg::ImagePtr& (osg::TextureChunkBase::*)() )&osg::TextureChunkBase::getImage, return_value_policy< copy_const_reference >())
        .def("getImage", (const osg::ImagePtr& (osg::TextureChunkBase::*)() const)&osg::TextureChunkBase::getImage, return_value_policy< copy_const_reference >())
        //.def("getInternalFormat", (GLenum& (osg::TextureChunkBase::*)() )&osg::TextureChunkBase::getInternalFormat, return_value_policy< copy_const_reference >())
        .def("getInternalFormat", (const GLenum& (osg::TextureChunkBase::*)() const)&osg::TextureChunkBase::getInternalFormat, return_value_policy< copy_const_reference >())
        //.def("getExternalFormat", (GLenum& (osg::TextureChunkBase::*)() )&osg::TextureChunkBase::getExternalFormat, return_value_policy< copy_const_reference >())
        .def("getExternalFormat", (const GLenum& (osg::TextureChunkBase::*)() const)&osg::TextureChunkBase::getExternalFormat, return_value_policy< copy_const_reference >())
        //.def("getScale", (bool& (osg::TextureChunkBase::*)() )&osg::TextureChunkBase::getScale, return_value_policy< copy_const_reference >())
        .def("getScale", (const bool& (osg::TextureChunkBase::*)() const)&osg::TextureChunkBase::getScale, return_value_policy< copy_const_reference >())
        //.def("getFrame", (osg::UInt32& (osg::TextureChunkBase::*)() )&osg::TextureChunkBase::getFrame, return_value_policy< copy_const_reference >())
        .def("getFrame", (const osg::UInt32& (osg::TextureChunkBase::*)() const)&osg::TextureChunkBase::getFrame, return_value_policy< copy_const_reference >())
        //.def("getMinFilter", (GLenum& (osg::TextureChunkBase::*)() )&osg::TextureChunkBase::getMinFilter, return_value_policy< copy_const_reference >())
        .def("getMinFilter", (const GLenum& (osg::TextureChunkBase::*)() const)&osg::TextureChunkBase::getMinFilter, return_value_policy< copy_const_reference >())
        //.def("getMagFilter", (GLenum& (osg::TextureChunkBase::*)() )&osg::TextureChunkBase::getMagFilter, return_value_policy< copy_const_reference >())
        .def("getMagFilter", (const GLenum& (osg::TextureChunkBase::*)() const)&osg::TextureChunkBase::getMagFilter, return_value_policy< copy_const_reference >())
        //.def("getWrapS", (GLenum& (osg::TextureChunkBase::*)() )&osg::TextureChunkBase::getWrapS, return_value_policy< copy_const_reference >())
        .def("getWrapS", (const GLenum& (osg::TextureChunkBase::*)() const)&osg::TextureChunkBase::getWrapS, return_value_policy< copy_const_reference >())
        //.def("getWrapT", (GLenum& (osg::TextureChunkBase::*)() )&osg::TextureChunkBase::getWrapT, return_value_policy< copy_const_reference >())
        .def("getWrapT", (const GLenum& (osg::TextureChunkBase::*)() const)&osg::TextureChunkBase::getWrapT, return_value_policy< copy_const_reference >())
        //.def("getWrapR", (GLenum& (osg::TextureChunkBase::*)() )&osg::TextureChunkBase::getWrapR, return_value_policy< copy_const_reference >())
        .def("getWrapR", (const GLenum& (osg::TextureChunkBase::*)() const)&osg::TextureChunkBase::getWrapR, return_value_policy< copy_const_reference >())
        //.def("getEnvMode", (GLenum& (osg::TextureChunkBase::*)() )&osg::TextureChunkBase::getEnvMode, return_value_policy< copy_const_reference >())
        .def("getEnvMode", (const GLenum& (osg::TextureChunkBase::*)() const)&osg::TextureChunkBase::getEnvMode, return_value_policy< copy_const_reference >())
        //.def("getEnvColor", (osg::Color4f& (osg::TextureChunkBase::*)() )&osg::TextureChunkBase::getEnvColor, return_value_policy< copy_const_reference >())
        .def("getEnvColor", (const osg::Color4f& (osg::TextureChunkBase::*)() const)&osg::TextureChunkBase::getEnvColor, return_value_policy< copy_const_reference >())
        //.def("getEnvCombineRGB", (GLenum& (osg::TextureChunkBase::*)() )&osg::TextureChunkBase::getEnvCombineRGB, return_value_policy< copy_const_reference >())
        .def("getEnvCombineRGB", (const GLenum& (osg::TextureChunkBase::*)() const)&osg::TextureChunkBase::getEnvCombineRGB, return_value_policy< copy_const_reference >())
        //.def("getEnvCombineAlpha", (GLenum& (osg::TextureChunkBase::*)() )&osg::TextureChunkBase::getEnvCombineAlpha, return_value_policy< copy_const_reference >())
        .def("getEnvCombineAlpha", (const GLenum& (osg::TextureChunkBase::*)() const)&osg::TextureChunkBase::getEnvCombineAlpha, return_value_policy< copy_const_reference >())
        //.def("getEnvScaleRGB", (osg::Real32& (osg::TextureChunkBase::*)() )&osg::TextureChunkBase::getEnvScaleRGB, return_value_policy< copy_const_reference >())
        .def("getEnvScaleRGB", (const osg::Real32& (osg::TextureChunkBase::*)() const)&osg::TextureChunkBase::getEnvScaleRGB, return_value_policy< copy_const_reference >())
        //.def("getEnvScaleAlpha", (osg::Real32& (osg::TextureChunkBase::*)() )&osg::TextureChunkBase::getEnvScaleAlpha, return_value_policy< copy_const_reference >())
        .def("getEnvScaleAlpha", (const osg::Real32& (osg::TextureChunkBase::*)() const)&osg::TextureChunkBase::getEnvScaleAlpha, return_value_policy< copy_const_reference >())
        //.def("getEnvSource0RGB", (GLenum& (osg::TextureChunkBase::*)() )&osg::TextureChunkBase::getEnvSource0RGB, return_value_policy< copy_const_reference >())
        .def("getEnvSource0RGB", (const GLenum& (osg::TextureChunkBase::*)() const)&osg::TextureChunkBase::getEnvSource0RGB, return_value_policy< copy_const_reference >())
        //.def("getEnvSource1RGB", (GLenum& (osg::TextureChunkBase::*)() )&osg::TextureChunkBase::getEnvSource1RGB, return_value_policy< copy_const_reference >())
        .def("getEnvSource1RGB", (const GLenum& (osg::TextureChunkBase::*)() const)&osg::TextureChunkBase::getEnvSource1RGB, return_value_policy< copy_const_reference >())
        //.def("getEnvSource2RGB", (GLenum& (osg::TextureChunkBase::*)() )&osg::TextureChunkBase::getEnvSource2RGB, return_value_policy< copy_const_reference >())
        .def("getEnvSource2RGB", (const GLenum& (osg::TextureChunkBase::*)() const)&osg::TextureChunkBase::getEnvSource2RGB, return_value_policy< copy_const_reference >())
        //.def("getEnvSource0Alpha", (GLenum& (osg::TextureChunkBase::*)() )&osg::TextureChunkBase::getEnvSource0Alpha, return_value_policy< copy_const_reference >())
        .def("getEnvSource0Alpha", (const GLenum& (osg::TextureChunkBase::*)() const)&osg::TextureChunkBase::getEnvSource0Alpha, return_value_policy< copy_const_reference >())
        //.def("getEnvSource1Alpha", (GLenum& (osg::TextureChunkBase::*)() )&osg::TextureChunkBase::getEnvSource1Alpha, return_value_policy< copy_const_reference >())
        .def("getEnvSource1Alpha", (const GLenum& (osg::TextureChunkBase::*)() const)&osg::TextureChunkBase::getEnvSource1Alpha, return_value_policy< copy_const_reference >())
        //.def("getEnvSource2Alpha", (GLenum& (osg::TextureChunkBase::*)() )&osg::TextureChunkBase::getEnvSource2Alpha, return_value_policy< copy_const_reference >())
        .def("getEnvSource2Alpha", (const GLenum& (osg::TextureChunkBase::*)() const)&osg::TextureChunkBase::getEnvSource2Alpha, return_value_policy< copy_const_reference >())
        //.def("getEnvOperand0RGB", (GLenum& (osg::TextureChunkBase::*)() )&osg::TextureChunkBase::getEnvOperand0RGB, return_value_policy< copy_const_reference >())
        .def("getEnvOperand0RGB", (const GLenum& (osg::TextureChunkBase::*)() const)&osg::TextureChunkBase::getEnvOperand0RGB, return_value_policy< copy_const_reference >())
        //.def("getEnvOperand1RGB", (GLenum& (osg::TextureChunkBase::*)() )&osg::TextureChunkBase::getEnvOperand1RGB, return_value_policy< copy_const_reference >())
        .def("getEnvOperand1RGB", (const GLenum& (osg::TextureChunkBase::*)() const)&osg::TextureChunkBase::getEnvOperand1RGB, return_value_policy< copy_const_reference >())
        //.def("getEnvOperand2RGB", (GLenum& (osg::TextureChunkBase::*)() )&osg::TextureChunkBase::getEnvOperand2RGB, return_value_policy< copy_const_reference >())
        .def("getEnvOperand2RGB", (const GLenum& (osg::TextureChunkBase::*)() const)&osg::TextureChunkBase::getEnvOperand2RGB, return_value_policy< copy_const_reference >())
        //.def("getEnvOperand0Alpha", (GLenum& (osg::TextureChunkBase::*)() )&osg::TextureChunkBase::getEnvOperand0Alpha, return_value_policy< copy_const_reference >())
        .def("getEnvOperand0Alpha", (const GLenum& (osg::TextureChunkBase::*)() const)&osg::TextureChunkBase::getEnvOperand0Alpha, return_value_policy< copy_const_reference >())
        //.def("getEnvOperand1Alpha", (GLenum& (osg::TextureChunkBase::*)() )&osg::TextureChunkBase::getEnvOperand1Alpha, return_value_policy< copy_const_reference >())
        .def("getEnvOperand1Alpha", (const GLenum& (osg::TextureChunkBase::*)() const)&osg::TextureChunkBase::getEnvOperand1Alpha, return_value_policy< copy_const_reference >())
        //.def("getEnvOperand2Alpha", (GLenum& (osg::TextureChunkBase::*)() )&osg::TextureChunkBase::getEnvOperand2Alpha, return_value_policy< copy_const_reference >())
        .def("getEnvOperand2Alpha", (const GLenum& (osg::TextureChunkBase::*)() const)&osg::TextureChunkBase::getEnvOperand2Alpha, return_value_policy< copy_const_reference >())
        //.def("getGLId", (GLenum& (osg::TextureChunkBase::*)() )&osg::TextureChunkBase::getGLId, return_value_policy< copy_const_reference >())
        .def("getGLId", (const GLenum& (osg::TextureChunkBase::*)() const)&osg::TextureChunkBase::getGLId, return_value_policy< copy_const_reference >())
        //.def("getIgnoreGLForAspect", (osg::Int32& (osg::TextureChunkBase::*)() )&osg::TextureChunkBase::getIgnoreGLForAspect, return_value_policy< copy_const_reference >())
        .def("getIgnoreGLForAspect", (const osg::Int32& (osg::TextureChunkBase::*)() const)&osg::TextureChunkBase::getIgnoreGLForAspect, return_value_policy< copy_const_reference >())
        //.def("getPointSprite", (bool& (osg::TextureChunkBase::*)() )&osg::TextureChunkBase::getPointSprite, return_value_policy< copy_const_reference >())
        .def("getPointSprite", (const bool& (osg::TextureChunkBase::*)() const)&osg::TextureChunkBase::getPointSprite, return_value_policy< copy_const_reference >())
        //.def("getPriority", (osg::Real32& (osg::TextureChunkBase::*)() )&osg::TextureChunkBase::getPriority, return_value_policy< copy_const_reference >())
        .def("getPriority", (const osg::Real32& (osg::TextureChunkBase::*)() const)&osg::TextureChunkBase::getPriority, return_value_policy< copy_const_reference >())
        //.def("getShaderOperation", (GLenum& (osg::TextureChunkBase::*)() )&osg::TextureChunkBase::getShaderOperation, return_value_policy< copy_const_reference >())
        .def("getShaderOperation", (const GLenum& (osg::TextureChunkBase::*)() const)&osg::TextureChunkBase::getShaderOperation, return_value_policy< copy_const_reference >())
        //.def("getShaderInput", (GLenum& (osg::TextureChunkBase::*)() )&osg::TextureChunkBase::getShaderInput, return_value_policy< copy_const_reference >())
        .def("getShaderInput", (const GLenum& (osg::TextureChunkBase::*)() const)&osg::TextureChunkBase::getShaderInput, return_value_policy< copy_const_reference >())
        //.def("getShaderOffsetScale", (osg::Real32& (osg::TextureChunkBase::*)() )&osg::TextureChunkBase::getShaderOffsetScale, return_value_policy< copy_const_reference >())
        .def("getShaderOffsetScale", (const osg::Real32& (osg::TextureChunkBase::*)() const)&osg::TextureChunkBase::getShaderOffsetScale, return_value_policy< copy_const_reference >())
        //.def("getShaderOffsetBias", (osg::Real32& (osg::TextureChunkBase::*)() )&osg::TextureChunkBase::getShaderOffsetBias, return_value_policy< copy_const_reference >())
        .def("getShaderOffsetBias", (const osg::Real32& (osg::TextureChunkBase::*)() const)&osg::TextureChunkBase::getShaderOffsetBias, return_value_policy< copy_const_reference >())
        //.def("getShaderRGBADotProduct", (GLenum& (osg::TextureChunkBase::*)() )&osg::TextureChunkBase::getShaderRGBADotProduct, return_value_policy< copy_const_reference >())
        .def("getShaderRGBADotProduct", (const GLenum& (osg::TextureChunkBase::*)() const)&osg::TextureChunkBase::getShaderRGBADotProduct, return_value_policy< copy_const_reference >())
        //.def("getShaderCullModes", (osg::UInt8& (osg::TextureChunkBase::*)() )&osg::TextureChunkBase::getShaderCullModes, return_value_policy< copy_const_reference >())
        .def("getShaderCullModes", (const osg::UInt8& (osg::TextureChunkBase::*)() const)&osg::TextureChunkBase::getShaderCullModes, return_value_policy< copy_const_reference >())
        //.def("getShaderConstEye", (osg::Vec3f& (osg::TextureChunkBase::*)() )&osg::TextureChunkBase::getShaderConstEye, return_value_policy< copy_const_reference >())
        .def("getShaderConstEye", (const osg::Vec3f& (osg::TextureChunkBase::*)() const)&osg::TextureChunkBase::getShaderConstEye, return_value_policy< copy_const_reference >())
        //.def("getLodBias", (osg::Real32& (osg::TextureChunkBase::*)() )&osg::TextureChunkBase::getLodBias, return_value_policy< copy_const_reference >())
        .def("getLodBias", (const osg::Real32& (osg::TextureChunkBase::*)() const)&osg::TextureChunkBase::getLodBias, return_value_policy< copy_const_reference >())
        //.def("getTarget", (GLenum& (osg::TextureChunkBase::*)() )&osg::TextureChunkBase::getTarget, return_value_policy< copy_const_reference >())
        .def("getTarget", (const GLenum& (osg::TextureChunkBase::*)() const)&osg::TextureChunkBase::getTarget, return_value_policy< copy_const_reference >())
        //.def("getDirtyLeft", (osg::Int32& (osg::TextureChunkBase::*)() )&osg::TextureChunkBase::getDirtyLeft, return_value_policy< copy_const_reference >())
        .def("getDirtyLeft", (const osg::Int32& (osg::TextureChunkBase::*)() const)&osg::TextureChunkBase::getDirtyLeft, return_value_policy< copy_const_reference >())
        //.def("getDirtyMinX", (osg::Int32& (osg::TextureChunkBase::*)() )&osg::TextureChunkBase::getDirtyMinX, return_value_policy< copy_const_reference >())
        .def("getDirtyMinX", (const osg::Int32& (osg::TextureChunkBase::*)() const)&osg::TextureChunkBase::getDirtyMinX, return_value_policy< copy_const_reference >())
        //.def("getDirtyMaxX", (osg::Int32& (osg::TextureChunkBase::*)() )&osg::TextureChunkBase::getDirtyMaxX, return_value_policy< copy_const_reference >())
        .def("getDirtyMaxX", (const osg::Int32& (osg::TextureChunkBase::*)() const)&osg::TextureChunkBase::getDirtyMaxX, return_value_policy< copy_const_reference >())
        //.def("getDirtyMinY", (osg::Int32& (osg::TextureChunkBase::*)() )&osg::TextureChunkBase::getDirtyMinY, return_value_policy< copy_const_reference >())
        .def("getDirtyMinY", (const osg::Int32& (osg::TextureChunkBase::*)() const)&osg::TextureChunkBase::getDirtyMinY, return_value_policy< copy_const_reference >())
        //.def("getDirtyMaxY", (osg::Int32& (osg::TextureChunkBase::*)() )&osg::TextureChunkBase::getDirtyMaxY, return_value_policy< copy_const_reference >())
        .def("getDirtyMaxY", (const osg::Int32& (osg::TextureChunkBase::*)() const)&osg::TextureChunkBase::getDirtyMaxY, return_value_policy< copy_const_reference >())
        //.def("getDirtyMinZ", (osg::Int32& (osg::TextureChunkBase::*)() )&osg::TextureChunkBase::getDirtyMinZ, return_value_policy< copy_const_reference >())
        .def("getDirtyMinZ", (const osg::Int32& (osg::TextureChunkBase::*)() const)&osg::TextureChunkBase::getDirtyMinZ, return_value_policy< copy_const_reference >())
        //.def("getDirtyMaxZ", (osg::Int32& (osg::TextureChunkBase::*)() )&osg::TextureChunkBase::getDirtyMaxZ, return_value_policy< copy_const_reference >())
        .def("getDirtyMaxZ", (const osg::Int32& (osg::TextureChunkBase::*)() const)&osg::TextureChunkBase::getDirtyMaxZ, return_value_policy< copy_const_reference >())
        //.def("getShaderOffsetMatrix", (osg::Real32& (osg::TextureChunkBase::*)(const osg::UInt32) )&osg::TextureChunkBase::getShaderOffsetMatrix, return_value_policy< copy_const_reference >())
        //.def("getShaderOffsetMatrix", (osg::MFReal32& (osg::TextureChunkBase::*)() )&osg::TextureChunkBase::getShaderOffsetMatrix, return_value_policy< copy_const_reference >())
        .def("getShaderOffsetMatrix", (const osg::MFReal32& (osg::TextureChunkBase::*)() const)&osg::TextureChunkBase::getShaderOffsetMatrix, return_value_policy< copy_const_reference >())
        .def("setImage", &osg::TextureChunkBase::setImage)
        .def("setInternalFormat", &osg::TextureChunkBase::setInternalFormat)
        .def("setExternalFormat", &osg::TextureChunkBase::setExternalFormat)
        .def("setScale", &osg::TextureChunkBase::setScale)
        .def("setFrame", &osg::TextureChunkBase::setFrame)
        .def("setMinFilter", &osg::TextureChunkBase::setMinFilter)
        .def("setMagFilter", &osg::TextureChunkBase::setMagFilter)
        .def("setWrapS", &osg::TextureChunkBase::setWrapS)
        .def("setWrapT", &osg::TextureChunkBase::setWrapT)
        .def("setWrapR", &osg::TextureChunkBase::setWrapR)
        .def("setEnvMode", &osg::TextureChunkBase::setEnvMode)
        .def("setEnvColor", &osg::TextureChunkBase::setEnvColor)
        .def("setEnvCombineRGB", &osg::TextureChunkBase::setEnvCombineRGB)
        .def("setEnvCombineAlpha", &osg::TextureChunkBase::setEnvCombineAlpha)
        .def("setEnvScaleRGB", &osg::TextureChunkBase::setEnvScaleRGB)
        .def("setEnvScaleAlpha", &osg::TextureChunkBase::setEnvScaleAlpha)
        .def("setEnvSource0RGB", &osg::TextureChunkBase::setEnvSource0RGB)
        .def("setEnvSource1RGB", &osg::TextureChunkBase::setEnvSource1RGB)
        .def("setEnvSource2RGB", &osg::TextureChunkBase::setEnvSource2RGB)
        .def("setEnvSource0Alpha", &osg::TextureChunkBase::setEnvSource0Alpha)
        .def("setEnvSource1Alpha", &osg::TextureChunkBase::setEnvSource1Alpha)
        .def("setEnvSource2Alpha", &osg::TextureChunkBase::setEnvSource2Alpha)
        .def("setEnvOperand0RGB", &osg::TextureChunkBase::setEnvOperand0RGB)
        .def("setEnvOperand1RGB", &osg::TextureChunkBase::setEnvOperand1RGB)
        .def("setEnvOperand2RGB", &osg::TextureChunkBase::setEnvOperand2RGB)
        .def("setEnvOperand0Alpha", &osg::TextureChunkBase::setEnvOperand0Alpha)
        .def("setEnvOperand1Alpha", &osg::TextureChunkBase::setEnvOperand1Alpha)
        .def("setEnvOperand2Alpha", &osg::TextureChunkBase::setEnvOperand2Alpha)
        .def("setGLId", &osg::TextureChunkBase::setGLId)
        .def("setIgnoreGLForAspect", &osg::TextureChunkBase::setIgnoreGLForAspect)
        .def("setPointSprite", &osg::TextureChunkBase::setPointSprite)
        .def("setPriority", &osg::TextureChunkBase::setPriority)
        .def("setShaderOperation", &osg::TextureChunkBase::setShaderOperation)
        .def("setShaderInput", &osg::TextureChunkBase::setShaderInput)
        .def("setShaderOffsetScale", &osg::TextureChunkBase::setShaderOffsetScale)
        .def("setShaderOffsetBias", &osg::TextureChunkBase::setShaderOffsetBias)
        .def("setShaderRGBADotProduct", &osg::TextureChunkBase::setShaderRGBADotProduct)
        .def("setShaderCullModes", &osg::TextureChunkBase::setShaderCullModes)
        .def("setShaderConstEye", &osg::TextureChunkBase::setShaderConstEye)
        .def("setLodBias", &osg::TextureChunkBase::setLodBias)
        .def("setTarget", &osg::TextureChunkBase::setTarget)
        .def("setDirtyLeft", &osg::TextureChunkBase::setDirtyLeft)
        .def("setDirtyMinX", &osg::TextureChunkBase::setDirtyMinX)
        .def("setDirtyMaxX", &osg::TextureChunkBase::setDirtyMaxX)
        .def("setDirtyMinY", &osg::TextureChunkBase::setDirtyMinY)
        .def("setDirtyMaxY", &osg::TextureChunkBase::setDirtyMaxY)
        .def("setDirtyMinZ", &osg::TextureChunkBase::setDirtyMinZ)
        .def("setDirtyMaxZ", &osg::TextureChunkBase::setDirtyMaxZ)
        .def("getBinSize", &osg::TextureChunkBase::getBinSize)
        .def("copyToBin", &osg::TextureChunkBase::copyToBin)
        .def("copyFromBin", &osg::TextureChunkBase::copyFromBin)
        .def("create", &osg::TextureChunkBase::create)
        .def("createEmpty", &osg::TextureChunkBase::createEmpty)
        .def("shallowCopy", &osg::TextureChunkBase::shallowCopy)
        .staticmethod("getClassType")
        .staticmethod("create")
        .staticmethod("createEmpty")
        .staticmethod("getClassTypeId")
    );

    scope().attr("EnvScaleAlphaFieldId") = (int)osg::TextureChunkBase::EnvScaleAlphaFieldId;
    scope().attr("EnvSource1RGBFieldId") = (int)osg::TextureChunkBase::EnvSource1RGBFieldId;
    scope().attr("ShaderOffsetMatrixFieldId") = (int)osg::TextureChunkBase::ShaderOffsetMatrixFieldId;
    scope().attr("ShaderOffsetScaleFieldId") = (int)osg::TextureChunkBase::ShaderOffsetScaleFieldId;
    scope().attr("MinFilterFieldId") = (int)osg::TextureChunkBase::MinFilterFieldId;
    scope().attr("ExternalFormatFieldId") = (int)osg::TextureChunkBase::ExternalFormatFieldId;
    scope().attr("EnvOperand2RGBFieldId") = (int)osg::TextureChunkBase::EnvOperand2RGBFieldId;
    scope().attr("DirtyMinXFieldId") = (int)osg::TextureChunkBase::DirtyMinXFieldId;
    scope().attr("EnvSource2RGBFieldId") = (int)osg::TextureChunkBase::EnvSource2RGBFieldId;
    scope().attr("WrapTFieldId") = (int)osg::TextureChunkBase::WrapTFieldId;
    scope().attr("EnvOperand1AlphaFieldId") = (int)osg::TextureChunkBase::EnvOperand1AlphaFieldId;
    scope().attr("EnvOperand2AlphaFieldId") = (int)osg::TextureChunkBase::EnvOperand2AlphaFieldId;
    scope().attr("ShaderConstEyeFieldId") = (int)osg::TextureChunkBase::ShaderConstEyeFieldId;
    scope().attr("GLIdFieldId") = (int)osg::TextureChunkBase::GLIdFieldId;
    scope().attr("EnvSource2AlphaFieldId") = (int)osg::TextureChunkBase::EnvSource2AlphaFieldId;
    scope().attr("EnvSource0AlphaFieldId") = (int)osg::TextureChunkBase::EnvSource0AlphaFieldId;
    scope().attr("IgnoreGLForAspectFieldId") = (int)osg::TextureChunkBase::IgnoreGLForAspectFieldId;
    scope().attr("LodBiasFieldId") = (int)osg::TextureChunkBase::LodBiasFieldId;
    scope().attr("ShaderRGBADotProductFieldId") = (int)osg::TextureChunkBase::ShaderRGBADotProductFieldId;
    scope().attr("TargetFieldId") = (int)osg::TextureChunkBase::TargetFieldId;
    scope().attr("DirtyMaxXFieldId") = (int)osg::TextureChunkBase::DirtyMaxXFieldId;
    scope().attr("DirtyMaxZFieldId") = (int)osg::TextureChunkBase::DirtyMaxZFieldId;
    scope().attr("PointSpriteFieldId") = (int)osg::TextureChunkBase::PointSpriteFieldId;
    scope().attr("ScaleFieldId") = (int)osg::TextureChunkBase::ScaleFieldId;
    scope().attr("ImageFieldId") = (int)osg::TextureChunkBase::ImageFieldId;
    scope().attr("EnvModeFieldId") = (int)osg::TextureChunkBase::EnvModeFieldId;
    scope().attr("EnvOperand0AlphaFieldId") = (int)osg::TextureChunkBase::EnvOperand0AlphaFieldId;
    scope().attr("WrapSFieldId") = (int)osg::TextureChunkBase::WrapSFieldId;
    scope().attr("ShaderInputFieldId") = (int)osg::TextureChunkBase::ShaderInputFieldId;
    scope().attr("EnvCombineAlphaFieldId") = (int)osg::TextureChunkBase::EnvCombineAlphaFieldId;
    scope().attr("InternalFormatFieldId") = (int)osg::TextureChunkBase::InternalFormatFieldId;
    scope().attr("ShaderCullModesFieldId") = (int)osg::TextureChunkBase::ShaderCullModesFieldId;
    scope().attr("ShaderOffsetBiasFieldId") = (int)osg::TextureChunkBase::ShaderOffsetBiasFieldId;
    scope().attr("DirtyMinYFieldId") = (int)osg::TextureChunkBase::DirtyMinYFieldId;
    scope().attr("DirtyMaxYFieldId") = (int)osg::TextureChunkBase::DirtyMaxYFieldId;
    scope().attr("ShaderOperationFieldId") = (int)osg::TextureChunkBase::ShaderOperationFieldId;
    scope().attr("EnvColorFieldId") = (int)osg::TextureChunkBase::EnvColorFieldId;
    scope().attr("EnvOperand1RGBFieldId") = (int)osg::TextureChunkBase::EnvOperand1RGBFieldId;
    scope().attr("WrapRFieldId") = (int)osg::TextureChunkBase::WrapRFieldId;
    scope().attr("EnvScaleRGBFieldId") = (int)osg::TextureChunkBase::EnvScaleRGBFieldId;
    scope().attr("NextFieldId") = (int)osg::TextureChunkBase::NextFieldId;
    scope().attr("MagFilterFieldId") = (int)osg::TextureChunkBase::MagFilterFieldId;
    scope().attr("DirtyLeftFieldId") = (int)osg::TextureChunkBase::DirtyLeftFieldId;
    scope().attr("EnvOperand0RGBFieldId") = (int)osg::TextureChunkBase::EnvOperand0RGBFieldId;
    scope().attr("DirtyMinZFieldId") = (int)osg::TextureChunkBase::DirtyMinZFieldId;
    scope().attr("EnvSource1AlphaFieldId") = (int)osg::TextureChunkBase::EnvSource1AlphaFieldId;
    scope().attr("EnvSource0RGBFieldId") = (int)osg::TextureChunkBase::EnvSource0RGBFieldId;
    scope().attr("EnvCombineRGBFieldId") = (int)osg::TextureChunkBase::EnvCombineRGBFieldId;
    scope().attr("PriorityFieldId") = (int)osg::TextureChunkBase::PriorityFieldId;
    scope().attr("FrameFieldId") = (int)osg::TextureChunkBase::FrameFieldId;

    delete osg_TextureChunkBase_scope;

    class_< osg::TextureChunk, bases< osg::TextureChunkBase > , boost::noncopyable, osg::TextureChunkRefPtr >("TextureChunk", no_init)
        .def("getStaticClassId", &osg::TextureChunk::getStaticClassId)
        .def("changed", &osg::TextureChunk::changed)
        .def("dump", &osg::TextureChunk::dump, osg_TextureChunk_dump_overloads_0_2())
        .def("activate", &osg::TextureChunk::activate, osg_TextureChunk_activate_overloads_1_2())
        .def("changeFrom", &osg::TextureChunk::changeFrom, osg_TextureChunk_changeFrom_overloads_2_3())
        .def("deactivate", &osg::TextureChunk::deactivate, osg_TextureChunk_deactivate_overloads_1_2())
        .def("isTransparent", &osg::TextureChunk::isTransparent)
        .def("switchCost", &osg::TextureChunk::switchCost)
        .def("imageContentChanged", &osg::TextureChunk::imageContentChanged, osg_TextureChunk_imageContentChanged_overloads_0_6())
        .def("setImage", &osg::TextureChunk::setImage)
        .def("setShaderOffsetMatrix", &osg::TextureChunk::setShaderOffsetMatrix)
        .def("hasMultiTexture", &osg::TextureChunk::hasMultiTexture)
        .def("activeTexture", &osg::TextureChunk::activeTexture)
        .def("activateTexture", &osg::TextureChunk::activateTexture)
        .staticmethod("activeTexture")
        .staticmethod("hasMultiTexture")
        .staticmethod("getStaticClassId")
        .staticmethod("activateTexture")
        //.def( self < other< osg::StateChunk >() )
        //.def( self == other< osg::StateChunk >() )
        //.def( self != other< osg::StateChunk >() )
    ;


    register_ptr_to_python<osg::TextureChunkPtr>();
    implicitly_convertible<osg::TextureChunkRefPtr, osg::TextureChunkPtr>();
    implicitly_convertible<osg::TextureChunkPtr, osg::StateChunkPtr>();

    def("RefPtr", &pyopensg::ToRefPtr<osg::TextureChunkPtr>);
    def("FCPtr", &pyopensg::ToFcPtr<osg::TextureChunkPtr>);
}

